package com.atguigu.microshop.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * jsr303数据校验标准
 * 1>.给bean加上校验注解
 */
@MapperScan("com.atguigu.microshop.product.dao")
@SpringBootApplication
@EnableDiscoveryClient //nacos服务注解
public class MicroShopProductApplication {

    public static void main(String[] args) {

        SpringApplication.run(MicroShopProductApplication.class, args);
    }

}
